import { Routes, RouterModule }  from '@angular/router';
import {StatisticsComponent} from "./statistics.component";

const routes:Routes = [
  {
    path: '',
    component: StatisticsComponent,
    children:[
      { path: 'fault',  loadChildren: './fault/fault.module#FaultModule' },
      { path: 'run',  loadChildren: './run/run.module#RunModule' },
    ]
  }
];

export const StatisticsRoute = RouterModule.forChild(routes);
